lib: Drop GFile variant mapping API for fd-relative
authorColin Walters <walters@verbum.org>
Tue, 31 May 2016 15:53:27 +0000 (11:53 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Wed, 1 Jun 2016 15:02:41 +0000 (15:02 +0000)
commitc148631a98407647bb989bb73d2b707e309344f9
treeb0e28f8093224a06e69c92204e137ae879337a0f
parentf725d39f111bd0d362a583c3a4902e3194fd74d8
lib: Drop GFile variant mapping API for fd-relative

In addition to generic fd relative porting,
this is a necessary preparatory step for libglnx porting, because
when I tried to use `g_mapped_file_new` I hit an issue with
it using a different error domain from GIO.

Thankfully libglnx consistently uses the GIO error domain, and here
we're now using it for the `open()` call.

Closes: #317
Approved by: jlebon
src/libostree/ostree-repo-commit.c
src/libostree/ostree-repo.c
src/libotutil/ot-variant-utils.c
src/libotutil/ot-variant-utils.h
src/ostree/ot-builtin-show.c